home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / lotus / lotus022.dsk / SURFNET.MPR / SCRIPT / ApproachDoc / SurfNet Form.s (.txt) < prev    next >
Null Bytes Alternating  |  1995-11-13  |  2KB  |  32 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Usertimer(Source As Form)
  5. Declare Sub Switchto(Source As Form, View As VIEW)
  6.  
  7. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8.  
  9. '++LotusScript Development Environment:2:2:BindEvents:1:129
  10. Private Sub BindEvents(Byval Objectname_ As String)
  11.     Static Source As FORM
  12.     Set Source = Bind(Objectname_)
  13.     On Event Usertimer From Source Call Usertimer
  14.     On Event Switchto From Source Call Switchto
  15. End Sub
  16.  
  17. '++LotusScript Development Environment:2:2:Usertimer:1:12
  18. Sub Usertimer(Source As Form)
  19.     Messagebox "Form timer has hit."
  20.     s="c:\iw\iw.exe http://" & source.url.text
  21.     Print s
  22.     i=Shell(s)
  23.     source.timerinterval=0
  24. End Sub
  25. '++LotusScript Development Environment:2:2:Switchto:1:12
  26. Sub Switchto(Source As Form, View As VIEW)
  27.     If (iMoreInfo = False) Then
  28.         CurrentApplication.ApplicationWindow.DoMenuCommand(IDM_FIND)
  29.     Else
  30.         iMoreInfo = False   'Reset back to false.
  31.     End If
  32. End Sub